import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';

import { ScenarioDesignComponent } from './scenario-design/scenario-design.component';
import { ScenarioSettingComponent } from './scenario-design/scenario-setting/scenario-setting.component';
import { PiplineSettingComponent } from './scenario-design/pipline-setting/pipline-setting.component';
import { SiteSettingComponent } from './scenario-design/site-setting/site-setting.component';
import { SrmSettingComponent } from './scenario-design/srm-setting/srm-setting.component';
import { ControlLibComponent } from './scenario-design/control-lib/control-lib.component';
import { FieldListComponent } from './scenario-design/field-list/field-list.component';
import { DataFieldSettingDialogComponent } from './scenario-design/data-field-setting-dialog/data-field-setting-dialog.component';
import { CardModule } from 'primeng/card';
import { ToolbarModule } from 'primeng/toolbar';
import { ButtonModule } from 'primeng/button';
import { SidebarModule } from 'primeng/sidebar';
import { FormsModule, ReactiveFormsModule } from '@angular/forms';
import { ConfirmDialogModule } from 'primeng/confirmdialog';
import { TableModule } from 'primeng/table';
import { DialogModule } from 'primeng/dialog';
import { ToastModule } from 'primeng/toast';
import { SplitButtonModule } from 'primeng/splitbutton';
import { InputTextModule } from 'primeng/inputtext';
import { InputNumberModule } from 'primeng/inputnumber';
import { TabViewModule } from 'primeng/tabview';
import { DropdownModule } from 'primeng/dropdown';
import { DragDropModule } from '@angular/cdk/drag-drop';


@NgModule({
  declarations: [
    ScenarioDesignComponent,
    ScenarioSettingComponent,
    PiplineSettingComponent,
    SiteSettingComponent,
    SrmSettingComponent,
    ControlLibComponent,
    FieldListComponent,
    DataFieldSettingDialogComponent,
  ],
  imports: [
    CommonModule,
    // ScenarioDesignRoutingModule,

    ButtonModule,
    TableModule,
    FormsModule,
    ReactiveFormsModule,
    ConfirmDialogModule,
    ToastModule,
    ToolbarModule,
    SplitButtonModule,
    InputTextModule,
    InputNumberModule,
    CardModule,
    TabViewModule,
    SidebarModule,
    InputTextModule,
    DropdownModule,
    DialogModule,
    DragDropModule,

    FormsModule,
    ReactiveFormsModule,
  ],
  exports: [
    ScenarioDesignComponent
  ]
})
export class ScenarioDesignModule { }
